package com.example.auth.service;

import com.example.auth.config.exception.GlobalExcetion;
import com.example.auth.domain.DataNodeConfig;
import com.example.auth.domain.User;
import com.baomidou.mybatisplus.extension.service.IService;
import com.example.auth.domain.vo.UserVo;

/**
* @author CETC
* @description 针对表【user】的数据库操作Service
* @createDate 2025-09-21 15:13:06
*/
public interface UserService extends IService<User> {

    public User findByUsername(String username);

    public User registerUser(User user) throws GlobalExcetion;

    public Integer findUserTotalNum();

    public DataNodeConfig findDataNodeByUserName(String userName);
}
